/**
 * 
 */
package com.metacube.questionbank.jdbc;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.metacube.questionbank.dto.UserDTO;

public class UserRowMapper implements RowMapper<UserDTO> {
	
	@Override
	public UserDTO mapRow(ResultSet resultSet, int line) throws SQLException {
		
		UserExtractor userExtractor = new UserExtractor();
		
		return userExtractor.extractData(resultSet);
	}
}
